package com.wlps.service.impl;

import com.wlps.entity.CommodityOrder;
import com.wlps.mapper.CommodityOrderMapper;
import com.wlps.mapper.OrderMapper;
import com.wlps.service.ICommodityOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 商品-订单表（中间表）（commodity_order） 服务实现类
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-31
 */
@Service
public class CommodityOrderServiceImpl extends ServiceImpl<CommodityOrderMapper, CommodityOrder> implements ICommodityOrderService {
    @Resource
    CommodityOrderMapper commodityOrderMapper;
    @Override
    public List<Long> queryOrdersId(String name) {
        return   commodityOrderMapper.queryOrdersId(name);
    }
}
